#include "IVolumnProxyImpl.h"
#include "IVolumn.h"
///-----------------------------------------------------------------------------
IVolumnProxyImpl::IVolumnProxyImpl(const std::string& szVolumn)
{
	m_pIVolumn = new IVolumn(szVolumn);
}
///-----------------------------------------------------------------------------
IVolumnProxyImpl::~IVolumnProxyImpl(void)
{
	safe_delete(m_pIVolumn);
}
///-----------------------------------------------------------------------------
IDirProxy* IVolumnProxyImpl::GetRootDir(void)
{
	return m_pIVolumn->GetRootDir();
}
///-----------------------------------------------------------------------------
IDirProxy* IVolumnProxyImpl::GetCurrentDir(void)
{
	return m_pIVolumn->GetCurrentDir();
}
///-----------------------------------------------------------------------------
const std::string& IVolumnProxyImpl::GetVolumnName(void) const
{
	return m_pIVolumn->GetVolumnName();
}
///-----------------------------------------------------------------------------
void IVolumnProxyImpl::SetCurrentDirPointer(IDirProxy* pIDirProxy)
{
	m_pIVolumn->SetCurrentDirPointer(pIDirProxy);
}
///-----------------------------------------------------------------------------